package com.dime.basic.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 科室管理对象 dime_basegroup
 *
 * @author Tiny
 * @date 2023-09-12
 */
public class DimeBasegroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 科室编码 */
    @Excel(name = "科室编码")
    private String groupCode;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String groupName;

    /** 排序 */
    @Excel(name = "排序")
    private Long sn;

    /** 科室状态 */
    @Excel(name = "科室状态")
    private String roomStatus;

    /** 门店码 */
    @Excel(name = "门店码")
    private String shopCode;

    /** 启用 */
    @Excel(name = "启用")
    private Integer IsValid = 1;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setGroupCode(String groupCode)
    {
        this.groupCode = groupCode;
    }

    public String getGroupCode()
    {
        return groupCode;
    }
    public void setGroupName(String groupName)
    {
        this.groupName = groupName;
    }

    public String getGroupName()
    {
        return groupName;
    }
    public void setSn(Long sn)
    {
        this.sn = sn;
    }

    public Long getSn()
    {
        return sn;
    }
    public void setRoomStatus(String roomStatus)
    {
        this.roomStatus = roomStatus;
    }

    public String getRoomStatus()
    {
        return roomStatus;
    }
    public void setShopCode(String shopCode)
    {
        this.shopCode = shopCode;
    }

    public String getShopCode()
    {
        return shopCode;
    }
    public void setIsValid(Integer IsValid)
    {
        this.IsValid = IsValid;
    }

    public Integer getIsValid()
    {
        return IsValid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupCode", getGroupCode())
            .append("groupName", getGroupName())
            .append("sn", getSn())
            .append("roomStatus", getRoomStatus())
            .append("shopCode", getShopCode())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("IsValid", getIsValid())
            .toString();
    }
}
